﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Torch_Dtos;

namespace Torch_IServices
{
    /// <summary>
    /// 岗位
    /// </summary>
    public interface IJobService
    {
        Task<int> AddJobAsync(string title);
        Task<int> EditJobAsync(int id,string title);
        Task<int> DeleteJobAsync(int id);
        Task<List<JobDto>> GetJobAllAsync();
        Task<JobDto> QueryJobByIdAsync(int id);
        Task<List<JobDto>> QueryJobByNameAsync(string title);

    }
}
